﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media;
using System.Diagnostics;
using Styx;
using Styx.Common;
using Styx.CommonBot;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;

namespace Pasteur
{
    class PasteurTrinkets
    {
        private static LocalPlayer Me { get { return StyxWoW.Me; } }

        #region Trinkets
        public bool UseTrinket1()
        {
            if (StyxWoW.Me.Inventory.Equipped.Trinket1 != null && StyxWoW.Me.Inventory.Equipped.Trinket1.Cooldown <= 0)
            {
                Lua.DoString("RunMacroText('/use 13');");
                Logging.Write(Colors.Yellow, "Using 1st Trinket");
                return true;
            }
            return false;
        }
        public bool UseTrinket2()
        {
            if (StyxWoW.Me.Inventory.Equipped.Trinket2 != null && StyxWoW.Me.Inventory.Equipped.Trinket2.Cooldown <= 0)
            {
                Lua.DoString("RunMacroText('/use 14');");
                Logging.Write(Colors.Yellow, "Using 2nd Trinket");
                return true;
            }
            return false;
        }
        #endregion Trinkets
    }
}
